package com.yb.module.system.domain;

import java.io.Serializable;

import com.yb.framework.core.base.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户角色信息
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class SysUserRole extends BaseEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/** 用户ID **/
	private Long userId;
	/** 角色ID **/
	private Long roleId;
	
	public SysUserRole() {
		super();
	}
	public SysUserRole(Long userId, Long roleId) {
		super();
		this.userId = userId;
		this.roleId = roleId;
	}
}